package com.document;

import java.io.File;
//获取SDcard路径
public class GetPath {
public static String getpath(){
	String Path = null;
	
	String sdString = android.os.Environment.getExternalStorageState();
			
			if(sdString.equals(android.os.Environment.MEDIA_MOUNTED)){
				try{
					File file = android.os.Environment.getExternalStorageDirectory();
					
					Path = file.getAbsolutePath() ;
					
					}catch (Exception e) {
						
					}
				
		}

			return Path;


}
}
